package com.maybach.workflow.common.api.node;


import com.maybach.workflow.common.api.enums.NodeTypeEnum;

/**
 * Created by well on 15/6/10.
 */
public class JoinNode extends BaseNode{


    private String nextNodeName;
    private ForkNode forkNode;

    public ForkNode getForkNode() {
        return forkNode;
    }

    public void setForkNode(ForkNode forkNode) {
        this.forkNode = forkNode;
    }

    public String getNextNodeName() {
        return nextNodeName;
    }

    public void setNextNodeName(String nextNodeName) {
        this.nextNodeName = nextNodeName;
    }

    @Override
    public NodeTypeEnum getNodeType() {
        return NodeTypeEnum.join;
    }

}
